<template>
	<view class="container">
		<view class="tip">
			<u-icon name="checkmark-circle-fill" size="200" color="#00b264"></u-icon>
			<text class="txt">{{txt}}</text>
		</view>
		<view class="f-fixed">
			<button class="border-radius-base" type="primary" @tap="back">返回</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				txt: "",
			}
		},
		onLoad(options) {
			this.txt = options.txt;
		},
		methods: {
			back() {
				uni.navigateBack();
			}
		}
	}
</script>

<style>
	.tip {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin: 40rpx 0;
	}
	.tip .txt {
		margin-top: 50rpx;
	}
	.f-fixed {
		padding: 0 40rpx;
	}
</style>
